package ${cfg.reqPackage};

import com.hyzx.qbasic.admin.model.vo.req.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 删除${table.comment!}请求类
 *
 * @author ${author}
 * @since ${date}
 */
<#--获取主键字段-->
<#list table.fields as field>
    <#if field.keyFlag>
        <#assign primaryKey = field>
    </#if>
</#list>

@ApiModel
public class ${cfg.deleteReqName} extends BaseRequest {
    @ApiModelProperty("${primaryKey.comment}")
    @NotEmpty(message = "${primaryKey.comment}不能为空")
    private List<${primaryKey.propertyType}> ${primaryKey.propertyName}List;

    public List<${primaryKey.propertyType}> get${primaryKey.capitalName}List() {
        return ${primaryKey.propertyName}List;
    }

    public void set${primaryKey.capitalName}List(List<${primaryKey.propertyType}> ${primaryKey.propertyName}List) {
        this.${primaryKey.propertyName}List = ${primaryKey.propertyName}List;
    }
}
